package com.easyidea.its.domain.service.system;

import java.util.List;

import com.easyidea.its.domain.model.system.Permission;
import com.easyidea.its.domain.service.base.BaseService;

/**
 * 
 * @author hukn
 *
 */
public interface PermissionService extends BaseService<Permission>{
	/**
	  * 
	  * @param parentId
	  * @return
	  */
	  List<Permission> getAllPerssionsByParentId(Integer parentId);
	  /**
	   * 
	   * @param id
	   * @return
	   */
	  Permission getPermissionById(Integer id);
		/**
		 * Get all permission urls
		 * 
		 * @return
		 */
		List<String> getAllPermissionUrls();
}
